package entity4wms;

import java.sql.Date;

/**
 * Entry
 */
public class Entry {
    private Integer id;
    private Integer gid;
    private Integer uid;
    private Date date;
    private Integer number;

    public Entry(Integer aeid, Integer agid,Integer auid, Date aedate,Integer aenumber){
        this.id = aeid;
        this.gid = agid;
        this.uid = auid;
        this.date = aedate;
        this.number = aenumber;
    }
    public Entry(){
        this.id = null;
        this.gid = null;
        this.uid = null;
        this.date = null;
        this.number = null;
    }


    public Entry(Integer agid,Integer auid, Date aedate,Integer aenumber){
        this.gid = agid;
        this.uid = auid;
        this.date = aedate;
        this.number = aenumber;
    }
    public Entry(Integer agid,Integer auid,Integer aenumber){
        this.gid = agid;
        this.uid = auid;
        this.number = aenumber;
    }
    public Entry(Integer aeid,Integer agid,Integer auid,Integer aenumber){
        this.id = aeid;
        this.gid = agid;
        this.uid = auid;
        this.number = aenumber;
    }
    
    public Integer getId() {return id;}
    public void setId(Integer eid) {this.id = eid;}

    public Integer getGid() {return gid;}
    public void setGid(Integer gid) {this.gid = gid;}

    public Integer getUid() {return uid;}
    public void setUid(Integer uid) {this.uid = uid;}

    public Date getDate() {return date;}
    public void setDate(Date edate) {this.date = edate;}

    public Integer getNumber() {return number;}
    public void setNumber(Integer enumber) {this.number = enumber;}

    @Override
    public String toString() {
        return "Entry{" + "eid=" + id + ", gid=" + gid + ", uid=" + uid + ", edate=" + date + ", enumber=" + number + '}';
    }


    
} 